<?php 
class Conectar{

   
public function con(){

$con=mysql_connect("localhost","root",""); 
mysql_select_db("proyectosg4");


return $con;
}



}

?>
